package com.system.dao;

import java.util.List;

import com.system.entity.Doc;
import com.system.entity.DocType;

public interface DocDao {
public boolean add(Doc doc);
public List<Doc> queryAll();
public Doc queryById(int id);
public boolean update(Doc doc);
public boolean delete(Doc doc);

public List<Doc> getDocListByType(DocType docType); 
}
